package com.example.tech.folio.pojo.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
public class Project implements Serializable {
    private Long id;

    private Long coverImageId;

    private String coverRemoteUrl;

    private String name;

    private String tags;

    @JsonFormat(pattern = "yyyy-MM")
    private LocalDate startDate;

    @JsonFormat(pattern = "yyyy-MM")
    @JsonInclude(JsonInclude.Include.ALWAYS)
    private LocalDate endDate;

    private Integer sortOrder;

    private String technologies;

    private String summary;

    private String details;

    private Integer isDisplay;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;
}